package com.jtlrm.ckd.entity;

import android.text.TextUtils;

public class LiangBiaoEntity {
    private String id;

    private String createTime;

    private String fraction;

    private String result;

    private String month; // 月份

    public String getMonth() {
        if (TextUtils.isEmpty(month)){
            if (createTime != null){
                month = createTime.substring(createTime.indexOf("-"), createTime.lastIndexOf("-"));
            }
        }
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getFraction() {
        return fraction;
    }

    public void setFraction(String fraction) {
        this.fraction = fraction;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
